<form class="form-horizontal form-bordered" method="post" enctype="multipart/form-data">
    <div class="panel panel-default">
        <div class="panel-body panel-body-nopadding">

            <div class="form-group">
                <label class="col-sm-1 control-label">标题</label>
                <div class="col-sm-10">
                    <input type="text" placeholder="标题" class="form-control" value="{$pageInfo.title}" name="title">
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-1 control-label">内容</label>
                <div class="col-sm-10">{:W('Form/editor',array('data'=>array('name'=>'html','content'=>$pageInfo['html'])))}</div>
            </div>

            <div class="form-group">
                <label class="col-sm-1 control-label">状态</label>
                <div class="col-sm-6">
                    <div class="radio">
                        <label><input type="radio" name="status" value="1" <eq name="pageInfo.status" value="1">checked</eq>> 启用</label> &nbsp;&nbsp;&nbsp;
                        <label><input type="radio" name="status" value="0" <eq name="pageInfo.status" value="0">checked</eq>> 禁用</label>
                    </div>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-1 control-label"></label>
                <div class="col-sm-7">
                    <input type="hidden" name="id" value="{$pageInfo.id}"/>
                    <input type="submit" class="btn btn-primary" value=" 提 交 " > &nbsp;
                    <a href="{:U('/page')}" class="btn btn-default"> 列 表 </a>
                </div>
            </div>
        </div>
    </div>
</form>

